<?php
/**
 * User: lie
 * Date: 2020/11/10 11:21
 * description: 对论坛内容进行转义
 */
    $sql = "INSERT INTO customer(cCusCode, cCusName, cCusAddName) VALUES ('090009', '测试客户', '测试')";
    echo "未经转义的字符串:, PHP数据库插入语句：".$sql;
    echo "<br>";
    echo "经转移后的字符串：".addslashes($sql);
